package cn.iocoder.yudao.module.crm.controller.admin.subject.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 栏目分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SubjectPageReqVO extends PageParam {

    @Schema(description = "父id", example = "28763")
    private Long parentId;

    @Schema(description = "栏目名称", example = "王五")
    private String name;

    @Schema(description = "父栏目名称", example = "")
    private String parentName;

    @Schema(description = "url", example = "https://www.iocoder.cn")
    private String url;

    @Schema(description = "展示顺序")
    private Integer sort;

    @Schema(description = "级别")
    private Integer level;

    @Schema(description = "前台是否显示0显示-1不显示")
    private Integer display;

    @Schema(description = "是否已禁用。{ 0：正常；1：禁用；}")
    private Integer status;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}